package edu.gatech.cs2340.aperturescience.backend.task;

import java.util.Date;

import edu.gatech.cs2340.aperturescience.backend.Location;

/**
 * Task class contains the data of individual tasks in the TaskList.
 * 
 * @author Kevin R Lacey @ 3/1/2012
 */

public class Task {
	public int uniqueID;
	public String name;
	public String description;
	public String category;
	public Location location;
	public Date dueDate;
	public boolean completed;

	/**
	 * Constructor Instantiates the following variables:
	 * 
	 * @param uniqueId
	 *            - the unique identifier for a given task
	 * @param name
	 *            - brief task summary
	 * @param description
	 *            - task summary / notes
	 * @param category
	 *            - classification of task (school, home, work, etc)
	 * @param location
	 *            - the location where a task is to be completed
	 * @param dueDate
	 *            - the date a task is due
	 */

	public Task(int uniqueId, String name, String description, String category,
			Location location, Date dueDate, boolean completed) {
		this.uniqueID = uniqueId;
		this.name = name;
		this.description = description;
		this.category = category;
		this.location = location;
		this.dueDate = dueDate;
		this.completed = completed;
	}
}